<!DOCTYPE html>
<html lang="zh-cn">
<head>
<title>理塘旅行社</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="../css/uniform.css" />
<link rel="stylesheet" href="../css/select2.css" />
<link rel="stylesheet" href="../css/unicorn.main.css" />
<link rel="stylesheet" href="../css/unicorn.grey.css" class="skin-color" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body style="min-width: 1500px;overflow:auto;">


	<div id="header">
		<h1>
			<a href="./dashboard.html">理塘旅行社</a>
		</h1>
	</div>
	
	<div id="user-nav" class="navbar navbar-inverse">
            <ul class="nav btn-group">
                <li class="btn btn-inverse"><a title="" href="#"><i class="icon icon-user"></i> <span class="text">个人信息</span></a></li>
                <li class="btn btn-inverse dropdown" id="menu-messages"><a href="#" data-toggle="dropdown" data-target="#menu-messages" class="dropdown-toggle"><i class="icon icon-envelope"></i> <span class="text">信息</span> <span class="label label-important">5</span> <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a class="sAdd" title="" href="#">新建信息</a></li>
                        <li><a class="sInbox" title="" href="#">收件箱</a></li>
                        <li><a class="sOutbox" title="" href="#">发件箱</a></li>
                        <li><a class="sTrash" title="" href="#">垃圾箱</a></li>
                    </ul>
                </li>
                <li class="btn btn-inverse"><a title="" href="#"><i class="icon icon-cog"></i> <span class="text">设置</span></a></li>
                <li class="btn btn-inverse"><a title="" href="login.html"><i class="icon icon-share-alt"></i> <span class="text">注销</span></a></li>
            </ul>
        </div>	

	<div id="sidebar">
		
		<ul>
			<li><a href="../index.html"><i class="icon icon-home"></i> <span>首页</span></a></li>
			<li class="submenu active open"><a href="#"><i
					class="icon icon-th-list"></i> <span>用户管理</span></a>
				<ul>
					<li><a href="/admin/findAllUser">个人用户</a></li>


				</ul></li>
				<li class="submenu">
					<a href="#"><i class="icon icon-th-list"></i> <span>热门景点管理</span></a>
					<ul>
						<li><a href="../../public/remenManager.html">当前热门</a></li>
					</ul>
				</li>
			<li><a href="../../public/youhuiManager.html"><i class="icon icon-th-list"></i> <span>优惠特价管理</span></a></li>

			<li class="submenu"><a href="#"><i class="icon icon-th-list"></i>
					<span>全部景点管理</span></a>
				<ul>
					<li><a href="../../public/allTraManager.html">全部景点</a></li>
				</ul></li>
		</ul>

	</div>



	<div id="content" style="height: 1000px;">
		<div id="content-header">
			<h1>企业用户</h1>
			<div class="btn-group">
					<a class="btn btn-large tip-bottom" title="文件管理"><i class="icon-file"></i></a>
					<a class="btn btn-large tip-bottom" title="用户管理"><i class="icon-user"></i></a>
					<a class="btn btn-large tip-bottom" title="评论管理"><i class="icon-comment"></i><span class="label label-important">5</span></a>
					<a class="btn btn-large tip-bottom" title="订单管理"><i class="icon-shopping-cart"></i></a>
				</div>
		</div>
		<div id="breadcrumb">
			<a href="../index.html" title="回到首页" class="tip-bottom"><i
				class="icon-home"></i> 首页</a> <a href="#" class="tip-bottom">用户管理</a> <a
				href="showDealer" class="current">企业用户</a>
		</div>



		</br> &nbsp;&nbsp;<a href="#add" data-toggle="modal" class="btn btn-info"
			style="position: absolute; float: left;margin-left:12px;">添加企业</a> 




		<div class="container-fluid">
			<div class="row-fluid">
				<div class="span12">
					<div class="widget-box">
						<div class="widget-title">

							<h5>企业用户信息</h5>
						</div>
						<div class="widget-content nopadding">
						    <table class="table table-bordered data-table">
								<colgroup>
									<col style="width: 10%;">
									<col style="width: 10%;">
									<col style="width: 10%;">
									<col style="width: 10%;">
									<col style>
									<col style="width: 10%;">
									<col style>
									<col style>
									<col style>
									<col style>
								</colgroup>
								<thead>
									<tr>
										<th>公司名</th>
										<th>营业执照号</th>
										<th>税务登记证号</th>
										<th>组织机构代码证号</th>
										<th>法人代表</th>
										<th>法人代表手机</th>
										<th>注册地住所</th>
										<th>创建时间</th>
										<th>更新时间</th>
										<th>操作</th>
									</tr>
								</thead>
								<tbody id="tbody">
								<c:forEach items="${company}" var="c">
									 <tr id="${c.id }">
									    <td>天津物产</td>
									    <td>025163</td>
									    <td>084562154</td>
									    <td>54345156</td>
									    <td>张三</td>
									    <td>18454598521</td>
									    <td>无锡</td>
									    <td>2015-1-1</td>
									    <td>2015-1-1</td>
									    <td>
									        <div class="btn-group">
												<button class="btn btn-success btn-mini">编辑</button>
												<button data-toggle="dropdown"
													class="btn btn-success btn-mini dropdown-toggle">
													<span class="caret"></span>
												</button>
												<ul class="dropdown-menu">
													<li><a href="#update"
														data-toggle="modal" onclick="updateCompany(${c.id })">更新</a></li>
													<li><a href="#showSon" data-toggle="modal">子账号管理</a></li>
												</ul>
											</div>
										</td>
									</tr>
									<tr id="${c.id }">
									    <td>顺丰快递</td>
									    <td>025164</td>
									    <td>084562154</td>
									    <td>142441156</td>
									    <td>李四</td>
									    <td>18454598521</td>
									    <td>苏州</td>
									    <td>2015-1-1</td>
									    <td>2015-1-1</td>
									    <td>
									        <div class="btn-group">
												<button class="btn btn-success btn-mini">编辑</button>
												<button data-toggle="dropdown"
													class="btn btn-success btn-mini dropdown-toggle">
													<span class="caret"></span>
												</button>
												<ul class="dropdown-menu">
													<li><a href="#update"
														data-toggle="modal" onclick="updateCompany(${c.id })">更新</a></li>
													<li><a href="#showSon" data-toggle="modal">子账号管理</a></li>
												</ul>
											</div>
										</td>
									</tr>
									<tr id="${c.id }">
									    <td>医保科技</td>
									    <td>965164</td>
									    <td>084562154</td>
									    <td>55321156</td>
									    <td>王五</td>
									    <td>18454598521</td>
									    <td>上海</td>
									    <td>2015-1-1</td>
									    <td>2015-1-1</td>
									    <td>
									        <div class="btn-group">
												<button class="btn btn-success btn-mini">编辑</button>
												<button data-toggle="dropdown"
													class="btn btn-success btn-mini dropdown-toggle">
													<span class="caret"></span>
												</button>
												<ul class="dropdown-menu">
													<li><a href="#update"
														data-toggle="modal" onclick="updateCompany(${c.id })">更新</a></li>
													<li><a href="#showSon" data-toggle="modal">子账号管理</a></li>
												</ul>
											</div>
										</td>
									</tr>
									<tr id="${c.id }">
									    <td>维罗软件</td>
									    <td>025164</td>
									    <td>084562154</td>
									    <td>45351156</td>
									    <td>张辽</td>
									    <td>18454598521</td>
									    <td>四川</td>
									    <td>2015-1-1</td>
									    <td>2015-1-1</td>
									    <td>
									        <div class="btn-group">
												<button class="btn btn-success btn-mini">编辑</button>
												<button data-toggle="dropdown"
													class="btn btn-success btn-mini dropdown-toggle">
													<span class="caret"></span>
												</button>
												<ul class="dropdown-menu">
													<li><a href="#update"
														data-toggle="modal" onclick="updateCompany(${c.id })">更新</a></li>
													<li><a href="#showSon" data-toggle="modal">子账号管理</a></li>
												</ul>
											</div>
										</td>
									</tr>
									<tr id="${c.id }">
									    <td>大唐电信</td>
									    <td>025164</td>
									    <td>084562154</td>
									    <td>45231156</td>
									    <td>刘备</td>
									    <td>18454598521</td>
									    <td>四川</td>
									    <td>2015-1-1</td>
									    <td>2015-1-1</td>
									    <td>
									        <div class="btn-group">
												<button class="btn btn-success btn-mini">编辑</button>
												<button data-toggle="dropdown"
													class="btn btn-success btn-mini dropdown-toggle">
													<span class="caret"></span>
												</button>
												<ul class="dropdown-menu">
													<li><a href="#update"
														data-toggle="modal" onclick="updateCompany(${c.id })">更新</a></li>
													<li><a href="#showSon" data-toggle="modal">子账号管理</a></li>
												</ul>
											</div>
										</td>
									</tr>
									<tr id="${c.id }">
									    <td>云计算</td>
									    <td>025164</td>
									    <td>985662154</td>
									    <td>24541156</td>
									    <td>甘宁</td>
									    <td>18454598521</td>
									    <td>无锡</td>
									    <td>2015-1-1</td>
									    <td>2015-1-1</td>
									    <td>
									        <div class="btn-group">
												<button class="btn btn-success btn-mini">编辑</button>
												<button data-toggle="dropdown"
													class="btn btn-success btn-mini dropdown-toggle">
													<span class="caret"></span>
												</button>
												<ul class="dropdown-menu">
													<li><a href="#update"
														data-toggle="modal" onclick="updateCompany(${c.id })">更新</a></li>
													<li><a href="#showSon" data-toggle="modal">子账号管理</a></li>
												</ul>
											</div>
										</td>
									</tr>
									<tr id="${c.id }">
									    <td>淘宝</td>
									    <td>025164</td>
									    <td>084562154</td>
									    <td>74351156</td>
									    <td>凌统</td>
									    <td>18454598521</td>
									    <td>大魏</td>
									    <td>2015-1-1</td>
									    <td>2015-1-1</td>
									    <td>
									        <div class="btn-group">
												<button class="btn btn-success btn-mini">编辑</button>
												<button data-toggle="dropdown"
													class="btn btn-success btn-mini dropdown-toggle">
													<span class="caret"></span>
												</button>
												<ul class="dropdown-menu">
													<li><a href="#update"
														data-toggle="modal" onclick="updateCompany(${c.id })">更新</a></li>
													<li><a href="#showSon" data-toggle="modal">子账号管理</a></li>
												</ul>
											</div>
										</td>
									</tr>
									<tr id="${c.id }">
									    <td>丰汇通</td>
									    <td>025164</td>
									    <td>084562154</td>
									    <td>54785156</td>
									    <td>司马懿</td>
									    <td>18454598521</td>
									    <td>无锡</td>
									    <td>2015-1-1</td>
									    <td>2015-1-1</td>
									    <td>
									        <div class="btn-group">
												<button class="btn btn-success btn-mini">编辑</button>
												<button data-toggle="dropdown"
													class="btn btn-success btn-mini dropdown-toggle">
													<span class="caret"></span>
												</button>
												<ul class="dropdown-menu">
													<li><a href="#update"
														data-toggle="modal" onclick="updateCompany(${c.id })">更新</a></li>
													<li><a href="#showSon" data-toggle="modal">子账号管理</a></li>
												</ul>
											</div>
										</td>
									</tr>
									<tr id="${c.id }">
									    <td>买卖宝</td>
									    <td>025164</td>
									    <td>084562154</td>
									    <td>54531156</td>
									    <td>吕布</td>
									    <td>18454598521</td>
									    <td>浙江</td>
									    <td>2015-1-1</td>
									    <td>2015-1-1</td>
									    <td>
									        <div class="btn-group">
												<button class="btn btn-success btn-mini">编辑</button>
												<button data-toggle="dropdown"
													class="btn btn-success btn-mini dropdown-toggle">
													<span class="caret"></span>
												</button>
												<ul class="dropdown-menu">
													<li><a href="#update"
														data-toggle="modal" onclick="updateCompany(${c.id })">更新</a></li>
													<li><a href="#showSon" data-toggle="modal">子账号管理</a></li>
												</ul>
											</div>
										</td>
									</tr>
									<tr id="${c.id }">
									    <td>索尼</td>
									    <td>025164</td>
									    <td>084562154</td>
									    <td>54541144</td>
									    <td>华佗</td>
									    <td>18454598521</td>
									    <td>重庆</td>
									    <td>2015-1-1</td>
									    <td>2015-1-1</td>
									    <td>
									        <div class="btn-group">
												<button class="btn btn-success btn-mini">编辑</button>
												<button data-toggle="dropdown"
													class="btn btn-success btn-mini dropdown-toggle">
													<span class="caret"></span>
												</button>
												<ul class="dropdown-menu">
													<li><a href="#update"
														data-toggle="modal" onclick="updateCompany(${c.id })">更新</a></li>
													<li><a href="#showSon" data-toggle="modal">子账号管理</a></li>
												</ul>
											</div>
										</td>
									</tr>
									<tr id="${c.id }">
									    <td>微软</td>
									    <td>025164</td>
									    <td>084562154</td>
									    <td>54541785</td>
									    <td>月英</td>
									    <td>18454598521</td>
									    <td>重庆</td>
									    <td>2015-1-1</td>
									    <td>2015-1-1</td>
									    <td>
									        <div class="btn-group">
												<button class="btn btn-success btn-mini">编辑</button>
												<button data-toggle="dropdown"
													class="btn btn-success btn-mini dropdown-toggle">
													<span class="caret"></span>
												</button>
												<ul class="dropdown-menu">
													<li><a href="#update"
														data-toggle="modal" onclick="updateCompany(${c.id })">更新</a></li>
													<li><a href="#showSon" data-toggle="modal">子账号管理</a></li>
												</ul>
											</div>
										</td>
									</tr>
									
									</c:forEach>
								</tbody>
							</table>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="row-fluid">
		<div id="footer" class="span12"
			style="bottom: 10px; position: absolute;">
			2015 &copy; 版权所有 <a href="http://www.yjbys.com/company/2522124.html">江苏钱桥金属制品交易中心有限公司</a>
		</div>
	</div>
	</div>

<div id="add" class="modal hide">
	
<div class="row-fluid">
					<div class="span12">
						<div class="widget-box">
							<div class="widget-title">
								<span class="icon">
									<i class="icon-align-justify"></i>									
								</span>
								<h5>添加企业</h5>
							</div>
							<div class="widget-content nopadding">
								<form action="#" method="get" class="form-horizontal" />																		                                                                                                                                         
									<div class="control-group">
								<label class="control-label">公司名</label>
								<div class="controls">
									<input type="text" class="update_wx"/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">营业执照号</label>
								<div class="controls">
									<input type="text" class="update_wx" id="len"/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">税务登记号</label>
								<div class="controls">
									<input type="text" class="update_wx" id="len"/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">组织机构代码证号</label>
								<div class="controls">
									<input type="text" class="update_wx" id="len"/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">法人代表</label>
								<div class="controls">
									<input type="text" class="update_wx" style="width:70px;"/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">法人代表手机</label>
								<div class="controls">
									<input type="text" class="update_wx" style="width:150px;"/>
								</div>
							</div>
							
						<div class="control-group">
								<label class="control-label">注册地住所</label>
								<div class="controls">
									<input type="text" class="update_wx" style="width:70px;"/>
								</div>
							</div>
						<div class="form-actions">
										<button type="submit" class="btn btn-primary">保存</button>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>
</div>							

	<div id="update" class="modal hide">
	
<div class="row-fluid">
					<div class="span12">
						<div class="widget-box">
							<div class="widget-title">
								<span class="icon">
									<i class="icon-align-justify"></i>									
								</span>
								<h5>更新</h5>
							</div>
							<div class="widget-content nopadding">
								<form action="#" method="get" class="form-horizontal" />																		                                                                                                                                         
									<div class="control-group">
								<label class="control-label">公司名</label>
								<div class="controls">
									<input type="text" class="update_wx"/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">营业执照号</label>
								<div class="controls">
									<input type="text" class="update_wx" id="len"/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">税务登记号</label>
								<div class="controls">
									<input type="text" class="update_wx" id="len"/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">组织机构代码证号</label>
								<div class="controls">
									<input type="text" class="update_wx" id="len"/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">法人代表</label>
								<div class="controls">
									<input type="text" class="update_wx" style="width:70px;"/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">法人代表手机</label>
								<div class="controls">
									<input type="text" class="update_wx" style="width:150px;"/>
								</div>
							</div>
							
						<div class="control-group">
								<label class="control-label">注册地住所</label>
								<div class="controls">
									<input type="text" class="update_wx" style="width:70px;"/>
								</div>
							</div>
						<div class="form-actions">
										<button type="submit" class="btn btn-primary">保存</button>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>
</div>							
		<div id="showSon" class="modal hide" style="width:1500px;margin:0px auto;left:10%;top:30%" ;>
		<div class="modal-header">
			<button data-dismiss="modal" class="close" type="button">×</button>
			<h3>子账号管理</h3>
		</div>
		<div class="container-fluid">
			<div class="row-fluid">
				<div class="span12">
					<div class="widget-box">
					
						<div class="widget-content nopadding">
							
								<table class="table table-bordered">
									<thead>
										<tr>
											<th>用户名</th>
											<th>手机号</th>
											<th>QQ</th>
											<th>邮箱</th>
											<th>姓名</th>
											<th>性别</th>
											<th>身份</th>
											<th>创建时间</th>
											<th>更新时间</th>
											<th>状态</th>
											<th>操作</th>
										</tr>
									</thead>
									<tbody id="tbody">
										<tr>
											<td>18552188013</td>
											<td>18552188013</td>
											<td>1163507502</td>
											<td>1163507502@qq.com</td>
											<td>练泉</td>
											<td>男</td>
											<td>1</td>
											<td>2015-1-17</td>
											<td>2015-1-17</td>
											<td>
												<div class="btn-group">
													<button class="btn btn-success btn-mini">已激活</button>
													<button data-toggle="dropdown"
														class="btn btn-success btn-mini dropdown-toggle">
														<span class="caret"></span>
													</button>
													<ul class="dropdown-menu">
														<li><a href="#"
															onclick="frozenAccount(${u.username })">冻结账号</a></li>
													</ul>
												</div>
											</td>
											<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
												<div class="btn-group">
													<button class="btn btn-primary btn-mini">互动</button>
													<button data-toggle="dropdown"
														class="btn btn-mini btn-primary dropdown-toggle">
														<span class="caret"></span>
													</button>
													<ul class="dropdown-menu">
														<li><a href="#">短信</a></li>
														<li><a href="http://wpa.qq.com/msgrd?uin=1163507502">QQ</a></li>
														<li><a href="#email" data-toggle="modal">邮件</a></li>

													</ul>
												</div>
												<div class="btn-group">
													<button class="btn btn-success btn-mini">编辑</button>
													<button data-toggle="dropdown"
														class="btn btn-success btn-mini dropdown-toggle">
														<span class="caret"></span>
													</button>
													<ul class="dropdown-menu">
														<li><a href="#update" data-toggle="modal">更新</a></li>
														<li><a href="#">分配权限</a></li>
													</ul>
												</div>
											</td>
										</tr>
									</tbody>
								</table>
							
						</div>
					</div>
				</div>
			</div>
		</div>

		<div class="modal-footer">
			<a onclick="forUpdate()" data-dismiss="modal" class="btn btn-primary" href="#" >保存</a> <a
				data-dismiss="modal" class="btn" href="#">取消</a>
		</div>
	</div>
	
	</div>






	<script src="../js/jquery.min.js"></script>
	<script src="../js/jquery.ui.custom.js"></script>
	<script src="../js/bootstrap.min.js"></script>
	<script src="../js/jquery.uniform.js"></script>
	<script src="../js/select2.min.js"></script>
	<script src="../js/jquery.dataTables.min.js"></script>
	<script src="../js/unicorn.js"></script>
	<script src="../js/unicorn.tables.js"></script>
	<script src="../userJs/dealer.js"></script>
</body>
</html>
